/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.phone.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.phone.entity.CommunityPhone;
import com.thinkgem.jeesite.modules.phone.dao.CommunityPhoneDao;

/**
 * 便民电话Service
 * @author 张朋
 * @version 2016-09-07
 */
@Service
@Transactional(readOnly = true)
public class CommunityPhoneService extends CrudService<CommunityPhoneDao, CommunityPhone> {

	public CommunityPhone get(String id) {
		return super.get(id);
	}
	
	public List<CommunityPhone> findList(CommunityPhone communityPhone) {
		return super.findList(communityPhone);
	}
	
	public Page<CommunityPhone> findPage(Page<CommunityPhone> page, CommunityPhone communityPhone) {
		return super.findPage(page, communityPhone);
	}
	
	@Transactional(readOnly = false)
	public void save(CommunityPhone communityPhone) {
		super.save(communityPhone);
	}
	
	@Transactional(readOnly = false)
	public void delete(CommunityPhone communityPhone) {
		super.delete(communityPhone);
	}
	
}